import axios from '../http/axios';

export default {
    //----------------新增教师----------------------
    addTeachers(data){
        return axios({
            url:'/teachers/addTeachers',
            method:'POST',
            data
        })
    },
    //---------------获取教师数据---------------------
    getTeachers(params){
        return axios({
            url:'/teachers/getTeachers',
            method:'GET',
            params
        })
    }
}







